<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src ="js/vuejs-2.5.16.js"></script>
<script src ="js/axios-0.18.0.js"></script>
<body>
 <div id ="app">
     <input type="button" value="点我" v-on:click="fun()">
 </div>

<script >
    var vm = new Vue({
        el:"#app",
        methods:{
            fun:function () {
                axios.get('s.html')
                    .then(function (response) {
                        console.log(this);
                        console.log(response);
                    })
                    .catch(function (reason) {
                        console.log(reason);
                    })
            }
        }
    })
</script>
</body>
</html>